Set the keyboard-mode flag before popping up the tooltip so that pop it up
authorOwen Taylor <otaylor@redhat.com>
Tue, 26 Feb 2002 00:05:59 +0000 (00:05 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 26 Feb 2002 00:05:59 +0000 (00:05 +0000)
Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
        flag before popping up the tooltip so that pop it up
        in the right place. (#71917, Narayani Pattipati)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktooltips.c

index 0b93396262578fbb0a3fcbc856ebc17acb99bf00..47d98a41bc18aa5ccecb42d001667ca742fb4fe2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
+       flag before popping up the tooltip so that pop it up
+       in the right place. (#71917, Narayani Pattipati)
+
 Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
index 0b93396262578fbb0a3fcbc856ebc17acb99bf00..47d98a41bc18aa5ccecb42d001667ca742fb4fe2 100644 (file)
@@ -1,3 +1,9 @@
+Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
+       flag before popping up the tooltip so that pop it up
+       in the right place. (#71917, Narayani Pattipati)
+
 Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
index 0b93396262578fbb0a3fcbc856ebc17acb99bf00..47d98a41bc18aa5ccecb42d001667ca742fb4fe2 100644 (file)
@@ -1,3 +1,9 @@
+Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
+       flag before popping up the tooltip so that pop it up
+       in the right place. (#71917, Narayani Pattipati)
+
 Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
index 0b93396262578fbb0a3fcbc856ebc17acb99bf00..47d98a41bc18aa5ccecb42d001667ca742fb4fe2 100644 (file)
@@ -1,3 +1,9 @@
+Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
+       flag before popping up the tooltip so that pop it up
+       in the right place. (#71917, Narayani Pattipati)
+
 Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
index 0b93396262578fbb0a3fcbc856ebc17acb99bf00..47d98a41bc18aa5ccecb42d001667ca742fb4fe2 100644 (file)
@@ -1,3 +1,9 @@
+Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
+       flag before popping up the tooltip so that pop it up
+       in the right place. (#71917, Narayani Pattipati)
+
 Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
index 0b93396262578fbb0a3fcbc856ebc17acb99bf00..47d98a41bc18aa5ccecb42d001667ca742fb4fe2 100644 (file)
@@ -1,3 +1,9 @@
+Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
+       flag before popping up the tooltip so that pop it up
+       in the right place. (#71917, Narayani Pattipati)
+
 Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
index 0b93396262578fbb0a3fcbc856ebc17acb99bf00..47d98a41bc18aa5ccecb42d001667ca742fb4fe2 100644 (file)
@@ -1,3 +1,9 @@
+Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
+       flag before popping up the tooltip so that pop it up
+       in the right place. (#71917, Narayani Pattipati)
+
 Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
index 359aae9df83de4b05be2c4a224324edf8d12a77e..3ed3d27875fa53a71a9aba9ee025fa006780ade7 100644 (file)
@@ -491,10 +491,11 @@ start_keyboard_mode (GtkWidget *widget)
   if (GTK_IS_WINDOW (toplevel))
     {
       GtkWidget *focus = GTK_WINDOW (toplevel)->focus_widget;
+
+      g_object_set_data (G_OBJECT (toplevel), "gtk-tooltips-keyboard-mode", GUINT_TO_POINTER (TRUE));
+
       if (focus)
        gtk_tooltips_show_tip (focus);
-      
-      g_object_set_data (G_OBJECT (toplevel), "gtk-tooltips-keyboard-mode", GUINT_TO_POINTER (TRUE));
     }
 }